Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFacet


ChangeGeometry

The ChangeGeometry method assigns the specified clip shape, external transform, or both to this facet.

void ChangeGeometry (in ODShape clipShape,
                     in ODTransform transform,
                     in ODCanvas biasCanvas);
clipShape
A reference to a shape to assign as this facet's clip shape.
transform
A reference to a transform to assign as this facet's external transform.
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
DISCUSSION
This method invalidates any cached aggregate clip shape and transforms. This facet's containing part calls this method to change this facet's clip shape, external transform, or both. This method in turn calls the GeometryChanged method associated with this facet's part to notify the part (and the parts of all its embedded facets) that its clip shape, external transform, or both has changed.

SEE ALSO
The ODPart::GeometryChanged method (page 522).
"Positioning an Embedded Frame" on page 144 in OpenDoc Programmer's Guide.
"Clip Shape" on page 148 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help